@use "@/assets/scss/head.scss";

.bodyBox {
    background-color: #F2F6F9;
    padding: 0.5rem 8%;
    .titleBox {
        margin-bottom: 0.5rem;

        .title {}
    }
    ::v-deep(.el-col){
        margin-bottom: 16px;
    }
    .bodyItem {
        width: 100%;
        height: 100%;
        overflow: hidden;
      

        .imgBox {
            width: 100%;
            height: 280px;
            overflow: hidden;

            .img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                transition: opacity .4s ease-in, transform .6s linear;
            }
        }

        .bottom {
            padding: 0.2rem 0.4rem 0.3rem;
            line-height: 0.26rem;
            transition: all 0.3s;
            color: #333333;
            min-height: 1.86rem;
            box-sizing: border-box;

            .txt1 {
                font-size: 0.2rem;
                margin-bottom: 30px;
            }

            .txt2 {
                font-size: 0.15rem;
            }
        }

    }
}

.linksBox {
    width: 100%;
    background-image: url('@/assets/images/space1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0.6rem 20%;
    box-sizing: border-box;

    .title {
        margin-bottom: 0.5rem;
        font-size: 0.3rem;
    }

    .wrapBox {
        background-color: #fff;
        padding: 0.65rem 1.15rem;

        .item {
            background-color: #F5F5F5;
            width: 100%;
            height: 100%;
            overflow: hidden;
            padding: 0.15rem;
            box-sizing: border-box;

            .imgBox {
                width: 100%;
                height: 280px;
                overflow: hidden;

                .img {
                    width: 100%;
                    height: 100%;
                    display: block;
                    object-fit: fill;
                    transition: opacity .4s ease-in, transform .6s linear;
                }
            }

            .bottom {
                padding: 0.2rem 0.4rem 0;

                transition: all 0.3s;
                color: #333333;

                .txt1 {
                    font-size: 0.2rem;
                }
            }

        }
    }




}

@media screen and (max-width: 768px) {
    .headBox {
        height: 5.2rem !important;

        .body {
            display: none;
        }
    }

    .bodyBox {
        padding: 0.8rem 3% 0.3rem !important;

        .bodyItem {
            margin-bottom: 16px !important;

            .bottom {
                min-height: 109px;
            }
        }
    }

    .linksBox {
        padding: 0.6rem 0.1rem;

        .wrapBox {
            padding: 0.1rem  !important;
            .item {
                .imgBox {
                    width: 100%;
                    height: 130px;
                    overflow: hidden;

                    .img {
                      
                    }
                }

                .bottom {
                   
                    
                }

            }
        }
    }
}

@media screen and (min-width: 768px) {
    .bodyItem:hover {
        img {
            transform: scale(1.1, 1.1);
        }

        .bottom {
            background-color: #0252A6;
            color: #fff !important;
        }
    }
}